package com.frame.work.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
    * 群组与zigbee设备关系列表
    */
@Data
@EqualsAndHashCode(callSuper=true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`tbl_group_device_relation`")
public class TblGroupDeviceRelation extends BaseClassEntity {
    /**
     * 群组ID
     */
    @TableField(value = "`group_id`")
    private String groupId;

    /**
     * 设备ID
     */
    @TableField(value = "`device_id`")
    private String deviceId;

    /**
     * 配置状态判断0失败，1成功
     */
    @TableField(value = "`status`")
    private String status;
}